package com.springboot.framework.controller.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author huangpengfei
 * @version 1.0
 * @date 2019/6/18 14:23
 */
@Data
public class UserAddressUpdate {
    @NotNull(message = "参数错误")
    private Integer id;

    @NotEmpty(message = "参数错误")
    private String userWechatOpenid;

    @NotEmpty(message = "参数错误")
    private String contactName;

    @NotEmpty(message = "参数错误")
    private String contactPhone;

    @NotEmpty(message = "参数错误")
    private String areaCode;

    @NotEmpty(message = "参数错误")
    private String areaName;

    @NotEmpty(message = "参数错误")
    private String areaArray;

    @NotEmpty(message = "参数错误")
    private String address;

    private String label;
//    private BigDecimal longitude;
//    private BigDecimal latitude;
}
